Total Complexity | 54 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 414 |
Lines of code | 346 |
Logical lines of code | 91 |
Comment lines | 28 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
render_free_shipping_notice() | 38 | 15 | 87 | |
settings() | 32 | 1 | 144 | |
maybe_set_free_shipping_notice() | 52 | 8 | 25 | |
get_free_shipping_amount() | 53 | 8 | 22 | |
setup() | 54 | 6 | 20 | |
get_cart_amount() | 57 | 6 | 16 | |
get_free_shipping_message() | 65 | 3 | 8 | |
id() | 82 | 1 | 3 | |
add_to_fragments() | 76 | 1 | 4 | |
free_shipping_notice_shortcode() | 74 | 1 | 5 | |
get_percentage_for_free_shipping() | 78 | 1 | 3 | |
get_amount_for_free_shipping() | 78 | 1 | 3 | |
render_amount_for_free_shipping() | 80 | 1 | 3 | |
name() | 79 | 1 | 3 |